package com.jm.web.tags.form;

import com.jm.web.builder.YarncontBuilder;
import com.jm.web.tags.support.ListItemTag;

/**
 * @author yanjie
 * 成份標籤
 * 2011/9/29 下午1:01:10
 */
public class YarncontTag extends ListItemTag{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8609630296294108485L;

	@Override
	protected int onStartTag() {
		if(this.getPage().isExport() && !this.isEp()){
			return SKIP_BODY;
		}
		return SKIP_BODY;
	}
	
	@Override
	public String getBuilderName() {
		return YarncontBuilder.class.getName();
	}
	
	/**
	 * yarncont 配置
	 * @param strValue
	 */
	public void setConfig(String strValue) {
		this.SetExtValue("config", strValue);
	}
	
	public void setTemplate(String strValue) {
		this.SetExtValue("template", strValue);
	}
}
